<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			.div1 {
				border: 5px dotted #000;
				background-color: #0f0;
				padding: 5px;
				width: 200px;
				height: 200px;
				background-clip: content-box;
			}
		</style>
	</head>
	<body>
		<div class="div1">
			我是div1
		</div>
	</body>
</html>